home *** CD-ROM | disk | FTP | other *** search
/ How Many Bugs in a Box / How Many Bugs in a Box.cdr / bugs / mainmenu / 00119.ls < prev    next >
Encoding:
Text File  |  1995-04-04  |  351 b   |  18 lines

  1. on exitFrame
  2.   global hints
  3.   if hints < 1 then
  4.     set hints to the timer + 1800
  5.   end if
  6.   if the timer > hints then
  7.     set hints to the timer + 1800
  8.     if listp(the windowList) then
  9.       if count(the windowList) = 0 then
  10.         puppetSound(0)
  11.         go("hint" & random(3))
  12.         exit
  13.       end if
  14.     end if
  15.   end if
  16.   go(the frame - 1)
  17. end
  18.